module model.RedEnvelope;

import hunt.entity;

@Table("im_red_envelope")
class RedEnvelope : Model
{
  mixin MakeModel;

  @PrimaryKey
  @AutoIncrement
  uint id;

  uint type;

  uint fromId;

  long amount;
  int number;
  int status;

  long created;
  uint chatId;
  uint taget_type;
  string message;
  string messageId;
}

